package com.swm.julie.rest.sausage.service;

import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.util.ArrayList;

import org.apache.xmlrpc.XmlRpcException;

import com.swm.julie.rest.sausage.model.Product;

public interface SearchProduct {

	public ArrayList<Product> standardSearch(String query) throws MalformedURLException, XmlRpcException;
	public ArrayList<Product> itemSearch(String item, String query) throws MalformedURLException, XmlRpcException, UnsupportedEncodingException;
	public ArrayList<Product> companySearch(String query) throws MalformedURLException, XmlRpcException;
	public ArrayList<Product> itemCompanySearch(String company, String query) throws MalformedURLException, XmlRpcException, UnsupportedEncodingException;
	public ArrayList<Product> provinceSearch(String query) throws MalformedURLException, XmlRpcException;
	public ArrayList<Product> itemProvinceSearch(String province, String query) throws MalformedURLException, XmlRpcException, UnsupportedEncodingException;
}
